package com.lzb.musicplayer.adapter;

import android.content.Context;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.lzb.musicplayer.R;


import java.util.List;

//队列列表
public class ListStrAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    private final Context context;


    public ListStrAdapter(int layoutResId, @Nullable List<String> data, Context context) {
        super(layoutResId, data);
        this.context = context;
    }


    @Override
    protected void convert(BaseViewHolder helper, String item) {
        TextView tvPop1 = helper.getView(R.id.tvPop1);
        tvPop1.setText(item);

    }



}

